/*
 * Copyright (c) 2025 GuoKaiHong (Shenzhen) Technology Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


export interface IDrvDevice {
  /**
   * 根据key获取定义的属性字符串，如：
   *
   * 唯一标识已标准化的设备种类与IDL对应关联 name：'pinPad'
   * 型号（唯一标识每一个外设）
   * 厂家名称 manufacturer:'gkh'
   * UUID uuid:'xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx'
   * 设备版本号 version:'1.0.0.0'
   *
   * @param key key值
   * @returns 属性字符串
   */
  getInfo(key: string): string;
}

export interface Bundle {

  /**
   * 键值对
   */
  [key: string]: any;
}